package com.rocksea.app.entry;

import com.litesuits.orm.db.annotation.Mapping;
import com.litesuits.orm.db.enums.Relation;

import java.util.List;

/**
 * @author Administrator
 * @date 2017/11/3
 */

public class HighStarinDb
{
    public String BaseInfoId;
    public String VendorID;
    public String MachineID;
    public String SerialNo;
    public String PileNo;
    public String FileName;
    public String StartTime;
    public Integer TotalHammers;
    public int FileType;
    public String CoordinateX;
    public String CoordinateY;
    public int GpsIsValid;
    public String sourceData;

    public List<HammerDataBean> HammerData;

    public HighStarinDb()
    {

    }

    public static class HammerDataBean
    {
        public int CurHammer;               //当前锤数
        public float PileDiameter;          //桩径
        public float PileLength;            //桩长
        public float LengthUnderSensor;     //测点下桩长
        public int ChannelNumber;           //通道数量
        public float LengthInSoil;          //入土桩长
        public float TestArea;              //测点处截面积
        public float BottomArea;            //桩底截面积
        public float PileArea;              //桩身截面积
        public float PileDensity;           //桩身密度
        public float TestDensity;           //测点处密度
        public float AvgSpeed;              //平均波速
        public float TestSpeed;	            //测点波速
        public float Js;	                //凯斯系数
        public float HammerDropHeight;	    //落距
        public float HammerWeight;          //锤重
        public int SamplePoints;            //采样点数
        public int SampleInterval;          //采样间隔
        public float PowerBearing;          //设计承载力
        public float SecureQ;               //安全系数
        public float DepthIn;               //初始入土深度
        public float PreDepthPerHammer;     //预计每击灌入度
        public int Method;                  //计算方法
        public float AdjustCH1;             //通道1调整系数
        public float AdjustCH2;             //通道2调整系数
        public float AdjustCH3;             //通道3调整系数
        public float AdjustCH4;             //通道4调整系数
        public int IsOperateCH1;            //通道1是否参与运算
        public int IsOperateCH2;            //通道2是否参与运算
        public int IsOperateCH3;            //通道3是否参与运算
        public int IsOperateCH4;            //通道4是否参与运算
        public float RSP;                   //阻尼系数法的承载力
        public float RMX;                   //最大阻力
        public float RSU;                   //卸载法的承载力
        public float FMX;                   //力最大值
        public float VMX;                   //速度最大值
        public float EMX;                   //应变最大值
        public float DMX;                   //位移最大值
        public float DFN;                   //位移最终值
        public float CSX;                   //最大压应力
        public float TSX;                   //最大拉应力
        public float Beta;                  //Beta系数
        public int PileTop;                 //桩顶游标位置
        public int PileBottom;              //桩底游标位置
        public float SectionCircum;         //截面周长
        public int ConcreteStrength;        //砼强度，省去字母C,直接用数字
        public String CustomParam;

        @Mapping(Relation.OneToMany)
        public List<ChannelDataBean> ChannelData;
        public HammerDataBean()
        {

        }
    }
    public static class ChannelDataBean
    {
        public String BaseInfoId;
        public String uuid ;
        public int ChannelNo;
        public int SensorType;
        public int DelayPoints;
        public int ChnGain;
        public float SensorCH;
        public String WaveData;

        public ChannelDataBean()
        {

        }
    }
}
